<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
</head>

<body>

    <div id="app">
        <!-- v-for 列表渲染, item 是数组元素, index 是元素下标 -->
        <!-- v-for="(item,index) in 数组" -->
        <span v-for="(item,index) in arr">{{item}}</span>
    </div>
    <script src="vue-2.5.21.js"></script>
    <script src="index-列表渲染.js"></script>
</body>

</html>